﻿<%@ Page Title="" Language="C#" MasterPageFile="~/JUI.master" AutoEventWireup="true" CodeBehind="HQDemo.aspx.cs" Inherits="HQ.Web.HQDemo" %>
<asp:Content ID="Content1" ContentPlaceHolderID="JUIHead" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="JUIBody" runat="server">
    <div class="w_layoutA">
<%--        <div class="w_fluid">
            <div class="w_block">
                <div class="w_blockTitle"></div>
                <div>万得行情</div>
                <div>
                <img id="imgHQ" style="display: block;" src="http://chart.windin.com/HQchart/kline/10000010/d/000001.SH.jpg?199561" complete="complete"/>
                </div>
            </div>
        </div>--%>

        <div class="w_fluid">
            <div class="w_block">
                <div class="w_blockTitle">第一组实时行情</div>
                <div>
                    <img src="Lib/600000.SH.png" />
                    <img src="Lib/000002.SZ.png" />
                    <img src="Lib/600036.SH.png" />
                </div>
            </div>
        </div>

        <div class="w_fluid">
            <div class="w_block">
                <div class="w_blockTitle">第二组实时行情</div>
                <div>
                    <img src="Lib/600000.SH.png" />
                    <img src="Lib/000002.SZ.png" />
                    <img src="Lib/600036.SH.png" />
                </div>
            </div>
        </div>
    </div>
    <script type="text/javascript">
        setInterval(fnRefreshImgs, 10000);

        function fnRefreshImgs() {
            $(".w_block img").each(
            function (i) {
               var sUrl= this.src.split('?')[0];
               this.src = sUrl + "?ts=" + new Date().getTime();
            }
            );
        }
        
    </script>
</asp:Content>